using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace WirtualneNauczanie
{
class Courses 
{
private int courseid;
private string coursename;
private string coursedescription;
private ISet coursesectionsList;
private ISet studentscoursesList;

public Courses()
{

}

public virtual int Courseid
{
get { return courseid; }
set { courseid= value; }
}

public virtual string Coursename
{
get { return coursename; }
set { coursename= value; }
}

public virtual string Coursedescription
{
get { return coursedescription; }
set { coursedescription= value; }
}

public virtual ISet CoursesectionsList
{
get { return coursesectionsList; }
set { coursesectionsList= value; }
}

public virtual ISet StudentscoursesList
{
get { return studentscoursesList; }
set { studentscoursesList= value; }
}

public override string ToString()
{
String s = "";
if(courseid!=null)
	s+= "courseid : "+ courseid.ToString()+"\n";
else
	s+= "courseid : null\n";
if(coursename!=null)
	s+= "coursename : "+ coursename.ToString()+"\n";
else
	s+= "coursename : null\n";
if(coursedescription!=null)
	s+= "coursedescription : "+ coursedescription.ToString()+"\n";
else
	s+= "coursedescription : null\n";
return s;
}


}
}
